<template>
  <div id="mapContainer" class="map-box"></div>
</template>

<script setup>
import { onMounted } from "vue";

let viewer = undefined;
onMounted(() => {
  let mapViewer = new window.vis3d.MapViewer("mapContainer", window.mapConfig);
  window.mapViewer = mapViewer;
  viewer = mapViewer._viewer;
  window.viewer = viewer;
 
});

</script>

<style lang="scss" scoped>
.map-box {
  width: 100%;
  height: 100%;
}
</style>
